package com.ruoyi.common.core.domain.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import javax.validation.constraints.NotBlank;

/**
 * 制作申请对象 apply_info
 *
 * @author ess
 * @date 2021-10-26
 */
public class ApplyInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String applyInfoId;

    /** 申请信息类别 0 申请新印章 1注册已有UK 2印章授权延期，3印章证书延期 4印章重做 */
    @Excel(name = "申请信息类别 0 申请新印章 1注册已有UK 2印章授权延期，3印章证书延期 4印章重做")
    private String applyType;

    /** 所属单位id */
    @Excel(name = "所属单位id")
    private String unitId;

    /** 经办人信息 */
    @Excel(name = "经办人信息")
    private String jbrCardData;

    /** 经办人类型 */
    @Excel(name = "经办人类型")
    private String jbrCardType;

    /** 经办人姓名 */
    @Excel(name = "经办人姓名")
    private String jbrCardName;

    /** 申请信息状态  0 提交申请，1审核通过，2审核未通过，3证书制作中，4证书申请失败，5UK待制作，6制作完成，7UK预申请 */
    @Excel(name = "申请信息状态  0 提交申请，1审核通过，2审核未通过，3证书制作中，4证书申请失败，5UK待制作，6制作完成，7UK预申请")
    private Long applyState;

    /** 申请人id */
    @Excel(name = "申请人id")
    private String applyUserId;

    /** 申请时间 */
    @Excel(name = "申请时间")
    private String applyTime;

    /** 审核人id */
    @Excel(name = "审核人id")
    private String reviewUserId;

    /** 审核时间 */
    @Excel(name = "审核时间")
    private String reviewTime;

    /** 制作人id */
    @Excel(name = "制作人id")
    private String makeUserId;

    /** 制作时间 */
    @Excel(name = "制作时间")
    private String makeTime;

    /** 缓存文件 */
    @Excel(name = "缓存文件")
    private String tempFile;

    /** 印章内容详细 */
    @Excel(name = "印章内容详细")
    private String sealDetailId;

    /** 印章名称 */
    @Excel(name = "印章名称")
    private String sealName;

    private SealDetail sealDetail;

    private String deptName;

    private String applyUserName;

    private String reviewUserName;

    private String makeUserName;

    public void setApplyInfoId(String applyInfoId)
    {
        this.applyInfoId = applyInfoId;
    }

    public String getApplyInfoId()
    {
        return applyInfoId;
    }
    public void setApplyType(String applyType)
    {
        this.applyType = applyType;
    }

    public String getApplyType()
    {
        return applyType;
    }

    @NotBlank(message = "单位不能为空")
    public String getUnitId()
    {
        return unitId;
    }

    public void setUnitId(String unitId)
    {
        this.unitId = unitId;
    }
    public void setJbrCardData(String jbrCardData)
    {
        this.jbrCardData = jbrCardData;
    }

    public String getJbrCardData()
    {
        return jbrCardData;
    }
    public void setJbrCardType(String jbrCardType)
    {
        this.jbrCardType = jbrCardType;
    }

    public String getJbrCardType()
    {
        return jbrCardType;
    }
    public void setJbrCardName(String jbrCardName)
    {
        this.jbrCardName = jbrCardName;
    }

    public String getJbrCardName()
    {
        return jbrCardName;
    }

    @NotBlank(message = "申请状态不能为空")
    public Long getApplyState()
    {
        return applyState;
    }
    public void setApplyState(Long applyState)
    {
        this.applyState = applyState;
    }
    public void setApplyUserId(String applyUserId)
    {
        this.applyUserId = applyUserId;
    }

    public String getApplyUserId()
    {
        return applyUserId;
    }
    public void setApplyTime(String applyTime)
    {
        this.applyTime = applyTime;
    }

    public String getApplyTime()
    {
        return applyTime;
    }
    public void setReviewUserId(String reviewUserId)
    {
        this.reviewUserId = reviewUserId;
    }

    public String getReviewUserId()
    {
        return reviewUserId;
    }
    public void setReviewTime(String reviewTime)
    {
        this.reviewTime = reviewTime;
    }

    public String getReviewTime()
    {
        return reviewTime;
    }
    public void setMakeUserId(String makeUserId)
    {
        this.makeUserId = makeUserId;
    }

    public String getMakeUserId()
    {
        return makeUserId;
    }
    public void setMakeTime(String makeTime)
    {
        this.makeTime = makeTime;
    }

    public String getMakeTime()
    {
        return makeTime;
    }
    public void setTempFile(String tempFile)
    {
        this.tempFile = tempFile;
    }

    public String getTempFile()
    {
        return tempFile;
    }
    public void setSealDetailId(String sealDetailId)
    {
        this.sealDetailId = sealDetailId;
    }

    public String getSealDetailId()
    {
        return sealDetailId;
    }
    public void setSealName(String sealName)
    {
        this.sealName = sealName;
    }

    public String getSealName()
    {
        return sealName;
    }

    public SealDetail getSealDetail() {
        return sealDetail;
    }

    public void setSealDetail(SealDetail sealDetail) {
        this.sealDetail = sealDetail;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getApplyUserName() {
        return applyUserName;
    }

    public void setApplyUserName(String applyUserName) {
        this.applyUserName = applyUserName;
    }

    public String getReviewUserName() {
        return reviewUserName;
    }

    public void setReviewUserName(String reviewUserName) {
        this.reviewUserName = reviewUserName;
    }

    public String getMakeUserName() {
        return makeUserName;
    }

    public void setMakeUserName(String makeUserName) {
        this.makeUserName = makeUserName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("applyInfoId", getApplyInfoId())
            .append("applyType", getApplyType())
            .append("unitId", getUnitId())
            .append("jbrCardData", getJbrCardData())
            .append("jbrCardType", getJbrCardType())
            .append("jbrCardName", getJbrCardName())
            .append("applyState", getApplyState())
            .append("applyUserId", getApplyUserId())
            .append("applyTime", getApplyTime())
            .append("reviewUserId", getReviewUserId())
            .append("reviewTime", getReviewTime())
            .append("makeUserId", getMakeUserId())
            .append("makeTime", getMakeTime())
            .append("tempFile", getTempFile())
            .append("sealDetailId", getSealDetailId())
            .append("sealName", getSealName())
            .toString();
    }
}
